<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:69:"C:\phpstudy\WWW\tea\public/../application/admin\view\login\login.html";i:1534242544;}*/ ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

    <title>国茶大数据-后台登录/后台管理</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="/static/css/animate.css" rel="stylesheet">
    <link href="/static/css/style.css" rel="stylesheet">
    <link href="/static/css/login.css" rel="stylesheet">
    <script>
        if (window.top !== window.self) {
            window.top.location = window.location;
        }
    </script>

</head>

<body class="signin">
    <div class="signinpanel">
        <div class="row">
            <div class="col-sm-12">
                <form method="post" action="<?php echo url('admin/Login/admin'); ?>">
                    <h4 class="no-margins">登录：</h4>
                    <p class="m-t-md">登录到国茶后台</p>
                    <input type="text" name="user" class="form-control uname" placeholder="用户名" />
                    <input type="password" name="pwd" class="form-control pword m-b" placeholder="密码" />
                    <!-- <a href="">忘记密码了？</a> -->
                    <div>
                        <input type="text" name="code" style="color: black;"><br />
                        <img id="code" src="<?php echo url('Admin/login/code'); ?>" alt="captcha" style="height: 35px;margin-top:5px" />
                        <span id="refresh" style="color:green;">换一张</span>
                    </div>
                    <button class="btn btn-success btn-block">登录</button>
                </form>
            </div>
        </div>
        <div class="signup-footer">
            <div class="pull-left">
                &copy; tea
            </div>
        </div>
    </div>

<script type="text/javascript">
    document.getElementById("refresh").onclick=function(){
        document.getElementById("code").setAttribute("src","<?php echo url('Admin/login/code'); ?>")
    }

</script>
</body>

</html>
